#pragma once
#include "MCommon.h"
#include <QDialog>
#include "ui_MGetTextDlg.h"

class MGetTextDlg : public QDialog
{
	Q_OBJECT

public:
	MGetTextDlg(QWidget *parent = Q_NULLPTR);
	~MGetTextDlg();

public:
	void setLabelText(const QString &str);
	void setTextValue(const QString &str);
	QString getTextValue();

private slots:
	void onAcceptClick();
	void onCancelClick();

private:
	Ui::MGetTextDlg ui;
	QString m_textValue;
};
